#ifndef _QCOLORWIDGET_H
#define _QCOLORWIDGET_H


#include <QtCore/QHash>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtGui/QWidget>
#include <QtGui/QMessageBox>
#include <QtGui/QTableWidgetItem>


class QPushButton;


namespace QAnsiEditor {


class QAnsiPalette;


class QColorWidget : public QWidget
{
    Q_OBJECT

public:
    QColorWidget(QWidget *parent=0);
    virtual QSize sizeHint() const;

private:
    QAnsiPalette *m_pAnsiPalette;
    QPushButton *m_pBlickButton;
    QPushButton *m_pUnderlineButton;
    bool init();

signals:
    void colorChanged(char chColor);
    void blinkToggled(bool bBlink);
    void underlineToggled(bool bUnderline);

private slots:


};


}  // namespace QAnsiEditor


#endif  // _QCOLORWIDGET_H
